package com.tang.service;

import com.tang.entity.Book;
import com.tang.entity.Borrow;
import com.tang.entity.Review;

import java.util.List;

/**
 * @author tang
 * @create 2020-08-17
 */
public interface BookService {
    public  int findAll(int limit);
    public  List<Book> find(int index,int limit);
    public  void addBorrow(int readerId, int bookId);
    public List<Borrow> query(int readerId);
    public List<Review> reviewQuery();
    public List<Review> returnQuery();
    public void  hand(int id,int adminid,int state);
}
